package com.hospital.pet.love.lovepethospital.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 
 * @TableName pet_info
 */
@TableName(value ="pet_info")
@Data
@NoArgsConstructor
public class PetInfo implements Serializable {
    /**
     * 唯一标识

     */
    @TableId(value = "pet_id", type = IdType.AUTO)
    private Integer petId;

    /**
     * 宠物类别

     */
    @TableField(value = "type")
    private String type;

    /**
     * 年龄
     */
    @TableField(value = "pet_age")
    private Integer petAge;

    /**
     * 性别
     */
    @TableField(value = "pet_gender")
    private String petGender;

    /**
     * 主人联系电话

     */
    @TableField(value = "phone")
    private String phone;

    /**
     * 主人名

     */
    @TableField(value = "name")
    private String name;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}